package com.secxiot.provider.task.dao;

import com.secxiot.provider.task.entity.TaskExecutionDept;
import com.secxiot.provider.task.entity.TaskExecutionDeptExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
@Mapper
public interface TaskExecutionDeptDao {
    long countByExample(TaskExecutionDeptExample example);

    int deleteByExample(TaskExecutionDeptExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TaskExecutionDept record);

    int insertSelective(TaskExecutionDept record);

    List<TaskExecutionDept> selectByExample(TaskExecutionDeptExample example);

    TaskExecutionDept selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TaskExecutionDept record, @Param("example") TaskExecutionDeptExample example);

    int updateByExample(@Param("record") TaskExecutionDept record, @Param("example") TaskExecutionDeptExample example);

    int updateByPrimaryKeySelective(TaskExecutionDept record);

    int updateByPrimaryKey(TaskExecutionDept record);

    int insertBatch(@Param("records") List<TaskExecutionDept> records);
}